package com.esteel.settlement.pa.packet;
import java.util.Date;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotEmpty;
/**
 *请求包：交易网－> 监管系统
 * 交易网发起 查时间段会员开销户信息  
 * 查询某个时间段会员签解约的信息
 * zhouwentong
 */
@XmlRootElement(name="Result") 
@XmlAccessorType(XmlAccessType.FIELD)
public class CheckMemberInformationByTimePB1016 extends PaPacket{

	private static final long serialVersionUID = 6932858672490803902L;
	  //资金汇总账号
	 @XmlElement(name="SupAcctId")
	 @Length(max=32)
	 @NotEmpty
	 private String supAcctId;
	  //开始日期
	 @XmlElement(name="BeginDate")
	 private Date beginDate;
	 //结束日期
	 @XmlElement(name="EndDate")
	 private Date endDate;
	 //第几页
	 //起始值为1，每次最多返回20条记录，第二页返回的记录数为第21至40条记录，第三页为41至60条记录，顺序均按照建立时间的先后
	 @XmlElement(name="PageNum")
	 private int pageNum;
	 
	 
	public String getSupAcctId() {
		return supAcctId;
	}
	public void setSupAcctId(String supAcctId) {
		this.supAcctId = supAcctId;
	}
	public Date getBeginDate() {
		return beginDate;
	}
	public void setBeginDate(Date beginDate) {
		this.beginDate = beginDate;
	}
	public Date getEndDate() {
		return endDate;
	}
	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}
	public int getPageNum() {
		return pageNum;
	}
	public void setPageNum(int pageNum) {
		this.pageNum = pageNum;
	}
	@Override
	protected String[] order() {
		 String[] objs = {"supAcctId","beginDate","endDate","pageNum","reserve"};
		 return objs;
	}
	@Override
	protected String tranFunc() {
		return "1016";
	}

}
